package com.skyolder.milkbee.dto;

import java.util.HashMap;

public class UploadState {
	public static HashMap<String, String> stateInfo = new HashMap<String, String>();
	static {
		stateInfo.put("SUCCESS", "SUCCESS"); //默认成功
		stateInfo.put("NOFILE", "未包含文件上传域");
		stateInfo.put("TYPE", "不允许的文件格式");
		stateInfo.put("SIZE", "文件大小超出限制");
		stateInfo.put("ENTYPE", "请求类型ENTYPE错误");
		stateInfo.put("REQUEST", "上传请求异常");
		stateInfo.put("IO", "IO异常");
		stateInfo.put("DIR", "目录创建失败");
		stateInfo.put("UNKNOWN", "未知错误");
	}
	public static String SUCCESS ="SUCCESS";
	public static String NOFILE ="未包含文件上传域";
	public static String TYPE ="不允许的文件格式";
	public static String SIZE ="文件大小超出限制";
	public static String ENTYPE ="请求类型ENTYPE错误";
	public static String REQUEST ="上传请求异常";
	public static String IO ="IO异常";
	public static String DIR ="目录创建失败";
	public static String UNKNOWN ="未知错误";
}
